Integrand size = 15, antiderivative size = 59 \[ \int \sec ^5(c+b x) \sin (a+b x) \, dx=\frac {\cos (a-c) \sec ^4(c+b x)}{4 b}+\frac {\sin (a-c) \tan (c+b x)}{b}+\frac {\sin (a-c) \tan ^3(c+b x)}{3 b} \]
Time = 0.40 (sec) , antiderivative size = 48, normalized size of antiderivative = 0.81 \[ \int \sec ^5(c+b x) \sin (a+b x) \, dx=\frac {\sec (c) \sec ^4(c+b x) (3 \cos (a)+\sin (a-c) (4 \sin (c+2 b x)+\sin (3 c+4 b x)))}{12 b} \]
Time = 0.31 (sec) , antiderivative size = 54, normalized size of antiderivative = 0.92, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {5091, 3042, 3086, 15, 4254, 2009}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \sin (a+b x) \sec ^5(b x+c) \, dx\) |
\(\Big \downarrow \) 5091 |
\(\displaystyle \sin (a-c) \int \sec ^4(c+b x)dx+\cos (a-c) \int \sec ^4(c+b x) \tan (c+b x)dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sin (a-c) \int \csc \left (c+b x+\frac {\pi }{2}\right )^4dx+\cos (a-c) \int \sec (c+b x)^4 \tan (c+b x)dx\) |
\(\Big \downarrow \) 3086 |
\(\displaystyle \frac {\cos (a-c) \int \sec ^3(c+b x)d\sec (c+b x)}{b}+\sin (a-c) \int \csc \left (c+b x+\frac {\pi }{2}\right )^4dx\) |
\(\Big \downarrow \) 15 |
\(\displaystyle \sin (a-c) \int \csc \left (c+b x+\frac {\pi }{2}\right )^4dx+\frac {\cos (a-c) \sec ^4(b x+c)}{4 b}\) |
\(\Big \downarrow \) 4254 |
\(\displaystyle \frac {\cos (a-c) \sec ^4(b x+c)}{4 b}-\frac {\sin (a-c) \int \left (\tan ^2(c+b x)+1\right )d(-\tan (c+b x))}{b}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {\cos (a-c) \sec ^4(b x+c)}{4 b}-\frac {\sin (a-c) \left (-\frac {1}{3} \tan ^3(b x+c)-\tan (b x+c)\right )}{b}\) |
3.3.17.3.1 Defintions of rubi rules used
Int[(a_.)*(x_)^(m_.), x_Symbol] :> Simp[a*(x^(m + 1)/(m + 1)), x] /; FreeQ[ {a, m}, x] && NeQ[m, -1]
Int[((a_.)*sec[(e_.) + (f_.)*(x_)])^(m_.)*((b_.)*tan[(e_.) + (f_.)*(x_)])^( n_.), x_Symbol] :> Simp[a/f Subst[Int[(a*x)^(m - 1)*(-1 + x^2)^((n - 1)/2 ), x], x, Sec[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && IntegerQ[(n - 1)/2 ] && !(IntegerQ[m/2] && LtQ[0, m, n + 1])
Int[csc[(c_.) + (d_.)*(x_)]^(n_), x_Symbol] :> Simp[-d^(-1) Subst[Int[Exp andIntegrand[(1 + x^2)^(n/2 - 1), x], x], x, Cot[c + d*x]], x] /; FreeQ[{c, d}, x] && IGtQ[n/2, 0]
Int[Sec[w_]^(n_.)*Sin[v_], x_Symbol] :> Simp[Cos[v - w] Int[Tan[w]*Sec[w] ^(n - 1), x], x] + Simp[Sin[v - w] Int[Sec[w]^(n - 1), x], x] /; GtQ[n, 0 ] && FreeQ[v - w, x] && NeQ[w, v]
Time = 5.16 (sec) , antiderivative size = 76, normalized size of antiderivative = 1.29
method | result | size |
parallelrisch | \(\frac {-32 \cos \left (2 x b +a +c \right )-15-20 \cos \left (2 x b +2 c \right )-5 \cos \left (4 x b +4 c \right )-8 \cos \left (4 x b +a +3 c \right )}{12 b \left (\cos \left (4 x b +4 c \right )+4 \cos \left (2 x b +2 c \right )+3\right )}\) | \(76\) |
risch | \(\frac {4 \,{\mathrm e}^{i \left (4 x b +9 a +3 c \right )}+\frac {8 \,{\mathrm e}^{i \left (2 x b +9 a +c \right )}}{3}-\frac {8 \,{\mathrm e}^{i \left (2 x b +7 a +3 c \right )}}{3}+\frac {2 \,{\mathrm e}^{i \left (9 a -c \right )}}{3}-\frac {2 \,{\mathrm e}^{i \left (7 a +c \right )}}{3}}{\left ({\mathrm e}^{2 i \left (x b +a +c \right )}+{\mathrm e}^{2 i a}\right )^{4} b}\) | \(96\) |
default | \(\frac {-\frac {1}{\left (\sin \left (a \right ) \cos \left (c \right )-\cos \left (a \right ) \sin \left (c \right )\right )^{4} \left (\tan \left (x b +a \right ) \sin \left (a \right ) \cos \left (c \right )-\tan \left (x b +a \right ) \cos \left (a \right ) \sin \left (c \right )+\cos \left (a \right ) \cos \left (c \right )+\sin \left (a \right ) \sin \left (c \right )\right )}+\frac {3 \cos \left (a \right ) \cos \left (c \right )+3 \sin \left (a \right ) \sin \left (c \right )}{2 \left (\sin \left (a \right ) \cos \left (c \right )-\cos \left (a \right ) \sin \left (c \right )\right )^{4} \left (\tan \left (x b +a \right ) \sin \left (a \right ) \cos \left (c \right )-\tan \left (x b +a \right ) \cos \left (a \right ) \sin \left (c \right )+\cos \left (a \right ) \cos \left (c \right )+\sin \left (a \right ) \sin \left (c \right )\right )^{2}}+\frac {\left (\cos \left (a \right ) \cos \left (c \right )+\sin \left (a \right ) \sin \left (c \right )\right ) \left (\cos \left (a \right )^{2} \cos \left (c \right )^{2}+\cos \left (c \right )^{2} \sin \left (a \right )^{2}+\cos \left (a \right )^{2} \sin \left (c \right )^{2}+\sin \left (a \right )^{2} \sin \left (c \right )^{2}\right )}{4 \left (\sin \left (a \right ) \cos \left (c \right )-\cos \left (a \right ) \sin \left (c \right )\right )^{4} \left (\tan \left (x b +a \right ) \sin \left (a \right ) \cos \left (c \right )-\tan \left (x b +a \right ) \cos \left (a \right ) \sin \left (c \right )+\cos \left (a \right ) \cos \left (c \right )+\sin \left (a \right ) \sin \left (c \right )\right )^{4}}-\frac {\cos \left (c \right )^{2} \sin \left (a \right )^{2}+3 \cos \left (a \right )^{2} \cos \left (c \right )^{2}+4 \cos \left (a \right ) \cos \left (c \right ) \sin \left (a \right ) \sin \left (c \right )+3 \sin \left (a \right )^{2} \sin \left (c \right )^{2}+\cos \left (a \right )^{2} \sin \left (c \right )^{2}}{3 \left (\sin \left (a \right ) \cos \left (c \right )-\cos \left (a \right ) \sin \left (c \right )\right )^{4} \left (\tan \left (x b +a \right ) \sin \left (a \right ) \cos \left (c \right )-\tan \left (x b +a \right ) \cos \left (a \right ) \sin \left (c \right )+\cos \left (a \right ) \cos \left (c \right )+\sin \left (a \right ) \sin \left (c \right )\right )^{3}}}{b}\) | \(324\) |
1/12*(-32*cos(2*b*x+a+c)-15-20*cos(2*b*x+2*c)-5*cos(4*b*x+4*c)-8*cos(4*b*x +a+3*c))/b/(cos(4*b*x+4*c)+4*cos(2*b*x+2*c)+3)
Time = 0.28 (sec) , antiderivative size = 53, normalized size of antiderivative = 0.90 \[ \int \sec ^5(c+b x) \sin (a+b x) \, dx=-\frac {4 \, {\left (2 \, \cos \left (b x + c\right )^{3} + \cos \left (b x + c\right )\right )} \sin \left (b x + c\right ) \sin \left (-a + c\right ) - 3 \, \cos \left (-a + c\right )}{12 \, b \cos \left (b x + c\right )^{4}} \]
-1/12*(4*(2*cos(b*x + c)^3 + cos(b*x + c))*sin(b*x + c)*sin(-a + c) - 3*co s(-a + c))/(b*cos(b*x + c)^4)
Timed out. \[ \int \sec ^5(c+b x) \sin (a+b x) \, dx=\text {Timed out} \]
Leaf count of result is larger than twice the leaf count of optimal. 1074 vs. \(2 (55) = 110\).
Time = 0.25 (sec) , antiderivative size = 1074, normalized size of antiderivative = 18.20 \[ \int \sec ^5(c+b x) \sin (a+b x) \, dx=\text {Too large to display} \]
2/3*((6*cos(4*b*x + 2*a + 4*c) + 4*cos(2*b*x + 2*a + 2*c) - 4*cos(2*b*x + 4*c) + cos(2*a) - cos(2*c))*cos(8*b*x + a + 9*c) + 4*(6*cos(4*b*x + 2*a + 4*c) + 4*cos(2*b*x + 2*a + 2*c) - 4*cos(2*b*x + 4*c) + cos(2*a) - cos(2*c) )*cos(6*b*x + a + 7*c) + 6*(4*cos(2*b*x + a + 3*c) + cos(a + c))*cos(4*b*x + 2*a + 4*c) + 6*(6*cos(4*b*x + 2*a + 4*c) + 4*cos(2*b*x + 2*a + 2*c) - 4 *cos(2*b*x + 4*c) + cos(2*a) - cos(2*c))*cos(4*b*x + a + 5*c) + 4*(4*cos(2 *b*x + 2*a + 2*c) + cos(2*a) - cos(2*c))*cos(2*b*x + a + 3*c) - 4*(4*cos(2 *b*x + a + 3*c) + cos(a + c))*cos(2*b*x + 4*c) + (cos(2*a) - cos(2*c))*cos (a + c) + 4*cos(2*b*x + 2*a + 2*c)*cos(a + c) + (6*sin(4*b*x + 2*a + 4*c) + 4*sin(2*b*x + 2*a + 2*c) - 4*sin(2*b*x + 4*c) + sin(2*a) - sin(2*c))*sin (8*b*x + a + 9*c) + 4*(6*sin(4*b*x + 2*a + 4*c) + 4*sin(2*b*x + 2*a + 2*c) - 4*sin(2*b*x + 4*c) + sin(2*a) - sin(2*c))*sin(6*b*x + a + 7*c) + 6*(4*s in(2*b*x + a + 3*c) + sin(a + c))*sin(4*b*x + 2*a + 4*c) + 6*(6*sin(4*b*x + 2*a + 4*c) + 4*sin(2*b*x + 2*a + 2*c) - 4*sin(2*b*x + 4*c) + sin(2*a) - sin(2*c))*sin(4*b*x + a + 5*c) + 4*(4*sin(2*b*x + 2*a + 2*c) + sin(2*a) - sin(2*c))*sin(2*b*x + a + 3*c) - 4*(4*sin(2*b*x + a + 3*c) + sin(a + c))*s in(2*b*x + 4*c) + (sin(2*a) - sin(2*c))*sin(a + c) + 4*sin(2*b*x + 2*a + 2 *c)*sin(a + c))/(b*cos(8*b*x + a + 9*c)^2 + 16*b*cos(6*b*x + a + 7*c)^2 + 36*b*cos(4*b*x + a + 5*c)^2 + 16*b*cos(2*b*x + a + 3*c)^2 + 8*b*cos(2*b*x + a + 3*c)*cos(a + c) + b*cos(a + c)^2 + b*sin(8*b*x + a + 9*c)^2 + 16*...
Leaf count of result is larger than twice the leaf count of optimal. 327 vs. \(2 (55) = 110\).
Time = 0.32 (sec) , antiderivative size = 327, normalized size of antiderivative = 5.54 \[ \int \sec ^5(c+b x) \sin (a+b x) \, dx=\frac {3 \, \tan \left (b x + c\right )^{4} \tan \left (\frac {1}{2} \, a\right )^{2} \tan \left (\frac {1}{2} \, c\right )^{2} - 3 \, \tan \left (b x + c\right )^{4} \tan \left (\frac {1}{2} \, a\right )^{2} + 12 \, \tan \left (b x + c\right )^{4} \tan \left (\frac {1}{2} \, a\right ) \tan \left (\frac {1}{2} \, c\right ) + 8 \, \tan \left (b x + c\right )^{3} \tan \left (\frac {1}{2} \, a\right )^{2} \tan \left (\frac {1}{2} \, c\right ) - 3 \, \tan \left (b x + c\right )^{4} \tan \left (\frac {1}{2} \, c\right )^{2} - 8 \, \tan \left (b x + c\right )^{3} \tan \left (\frac {1}{2} \, a\right ) \tan \left (\frac {1}{2} \, c\right )^{2} + 6 \, \tan \left (b x + c\right )^{2} \tan \left (\frac {1}{2} \, a\right )^{2} \tan \left (\frac {1}{2} \, c\right )^{2} + 3 \, \tan \left (b x + c\right )^{4} + 8 \, \tan \left (b x + c\right )^{3} \tan \left (\frac {1}{2} \, a\right ) - 6 \, \tan \left (b x + c\right )^{2} \tan \left (\frac {1}{2} \, a\right )^{2} - 8 \, \tan \left (b x + c\right )^{3} \tan \left (\frac {1}{2} \, c\right ) + 24 \, \tan \left (b x + c\right )^{2} \tan \left (\frac {1}{2} \, a\right ) \tan \left (\frac {1}{2} \, c\right ) + 24 \, \tan \left (b x + c\right ) \tan \left (\frac {1}{2} \, a\right )^{2} \tan \left (\frac {1}{2} \, c\right ) - 6 \, \tan \left (b x + c\right )^{2} \tan \left (\frac {1}{2} \, c\right )^{2} - 24 \, \tan \left (b x + c\right ) \tan \left (\frac {1}{2} \, a\right ) \tan \left (\frac {1}{2} \, c\right )^{2} + 6 \, \tan \left (b x + c\right )^{2} + 24 \, \tan \left (b x + c\right ) \tan \left (\frac {1}{2} \, a\right ) - 24 \, \tan \left (b x + c\right ) \tan \left (\frac {1}{2} \, c\right )}{12 \, {\left (\tan \left (\frac {1}{2} \, a\right )^{2} \tan \left (\frac {1}{2} \, c\right )^{2} + \tan \left (\frac {1}{2} \, a\right )^{2} + \tan \left (\frac {1}{2} \, c\right )^{2} + 1\right )} b} \]
1/12*(3*tan(b*x + c)^4*tan(1/2*a)^2*tan(1/2*c)^2 - 3*tan(b*x + c)^4*tan(1/ 2*a)^2 + 12*tan(b*x + c)^4*tan(1/2*a)*tan(1/2*c) + 8*tan(b*x + c)^3*tan(1/ 2*a)^2*tan(1/2*c) - 3*tan(b*x + c)^4*tan(1/2*c)^2 - 8*tan(b*x + c)^3*tan(1 /2*a)*tan(1/2*c)^2 + 6*tan(b*x + c)^2*tan(1/2*a)^2*tan(1/2*c)^2 + 3*tan(b* x + c)^4 + 8*tan(b*x + c)^3*tan(1/2*a) - 6*tan(b*x + c)^2*tan(1/2*a)^2 - 8 *tan(b*x + c)^3*tan(1/2*c) + 24*tan(b*x + c)^2*tan(1/2*a)*tan(1/2*c) + 24* tan(b*x + c)*tan(1/2*a)^2*tan(1/2*c) - 6*tan(b*x + c)^2*tan(1/2*c)^2 - 24* tan(b*x + c)*tan(1/2*a)*tan(1/2*c)^2 + 6*tan(b*x + c)^2 + 24*tan(b*x + c)* tan(1/2*a) - 24*tan(b*x + c)*tan(1/2*c))/((tan(1/2*a)^2*tan(1/2*c)^2 + tan (1/2*a)^2 + tan(1/2*c)^2 + 1)*b)
Timed out. \[ \int \sec ^5(c+b x) \sin (a+b x) \, dx=\text {Hanged} \]